package day0214;

public class Demo02 {

    public static void main(String[] args) {
        int[] arr = {1, 2, 3};

        int[] arr1 = arr;

        int[] arr2 = {1, 2, 3};

        arr[0] = 6;

        System.out.println(arr1[0]); // 6

        System.out.println(arr == arr1);
        System.out.println(arr == arr2);
    }
}
